package com.camel.network.controller;

import cn.hutool.json.JSONObject;
import com.camel.network.model.MpccListModel;

import java.util.List;

public class NetBaseController {

    public List<JSONObject> getList(JSONObject res) {
        JSONObject obj = res.getJSONObject("obj");
        MpccListModel listModel = obj.get("list", MpccListModel.class);
        return listModel.getContent();
    }
}
